package com.hnas.ecard.service;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import com.hnas.core.dto.DTOPagedList;
import com.hnas.ecard.orm.Merchant;
import com.hnas.ecard.service.dto.DTOMerchant;
import com.hnas.ecard.service.search.DTOMerchantSearch;

public interface MerchantService {

	DTOPagedList<DTOMerchant> search(DTOMerchantSearch con);

	void deleteById(String id);

	DTOMerchant findById(String id);
	
	Merchant saveOrUpdate(DTOMerchant dto,HttpServletRequest request) throws IOException;
}
